<?php

namespace App\Models\Mental;

use App\Models\BasicModel;
use App\Models\User;
use Dcat\Admin\Traits\HasDateTimeFormatter;


class Logs extends BasicModel
{
	use HasDateTimeFormatter;
    protected $table = 'mental_log';

    public function user()
    {
        return $this->belongsTo(User::class, 'user_id', 'id');
    }

    public function test()
    {
        return $this->belongsTo(Lists::class, 'list_id', 'id');
    }
}
